<!DOCTYPE html>
<html>

  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>控件库</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">

  </head>

  <body>
    <h2>控件库，自行实现 </h2>
    <p>请修改 <b>{SDE目录}/dialogs/template/index.html</b></p>
    <span title="支持拖拽" class="dragstart" draggable="true" onclick="spanclick(event)" html="%3Cspan%20class%3D%22sde-ctrl%22%20sde-type%3D%22text%22%20sde-right%3D%22.%22%20id%3D%22abc%22%20sde-model%3D%22%257B%2522mode%2522%253A%2522EDITOR%2522%252C%2522notdel%2522%253A0%252C%2522strictverify%2522%253A0%252C%2522verify%2522%253A%2522%255E%255B0-9%255D*%2524%2522%252C%2522required%2522%253A0%252C%2522desc%2522%253A%2522%25E6%2595%25B4%25E6%2595%25B0%25E6%258E%25A7%25E4%25BB%25B6%2522%252C%2522remotedata%2522%253A%257B%2522url%2522%253A%2522%252Fdata%252Fjson1.json%2522%252C%2522method%2522%253A%2522get%2522%252C%2522data%2522%253A%257B%2522name%2522%253A%2522tl%2522%257D%257D%257D%22%0A%20%20%20%20%20%20%20%20%20%20contenteditable%3D%22false%22%3E%3Cspan%20class%3D%22sde-value%22%20sde-left%3D%22%5B%22%20sde-right%3D%22%5D%22%20contenteditable%3D%22false%22%20%3E%E6%95%B4%E6%95%B0%E6%8E%A7%E4%BB%B6%3C%2Fspan%3E%0A%20%20%20%20%20%20%3C%2Fspan%3E" @dragstart="drag($event)">
        <span
          id="abc"
          class="sde-ctrl"
          sde-type="text"
          sde-right="."
          sde-model="%7B%22mode%22%3A%22EDITOR%22%2C%22notdel%22%3A0%2C%22strictverify%22%3A0%2C%22verify%22%3A%22%5E%5B0-9%5D*%24%22%2C%22required%22%3A0%2C%22desc%22%3A%22%E6%95%B4%E6%95%B0%E6%8E%A7%E4%BB%B6%22%2C%22remotedata%22%3A%7B%22url%22%3A%22%2Fdata%2Fjson1.json%22%2C%22method%22%3A%22get%22%2C%22data%22%3A%7B%22name%22%3A%22tl%22%7D%7D%7D"
          contenteditable="false"
        ><span class="sde-value" sde-left="[" sde-right="]" contenteditable="false">整数控件</span>
        </span>
      </span>
  </body>
  <script type="text/javascript">
      function spanclick(e){
        console.log('点击了e',e)
      }
  </script>

</html>
